<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/webjars/bootstrap/4.5.3/css/bootstrap.min.css">
    <script src="${pageContext.request.contextPath}/webjars/jquery/3.5.1/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/webjars/popper.js/1.16.0/popper.min.js"></script>
    <script src="${pageContext.request.contextPath}/webjars/bootstrap/4.5.3/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/webjars/vue/2.6.11/vue.min.js"></script>
    <title>Title</title>
</head>
<body>
<div class="jumbotron">
    <h1>EXCEPTION</h1>
</div>

<div class="container">
    <div class="row">

        <div class="col-sm-8">
            <form action="${pageContext.request.contextPath}/test/exception/01/result">
                <input type="text" name="a" value="12">除以
                <input type="text" name="b" value="5">
                <input type="submit">
            </form>
            <form action="${pageContext.request.contextPath}/test/exception/01/result">
                <input type="text" name="a" value="12">除以
                <input type="text" name="b" value="0">
                <input type="submit">
            </form>
        </div>

    </div>

    <div class="row">
        <ur>
            <li><a href="${pageContext.request.contextPath}/test/statusCode/01?i=11">Method return Exception</a></li>
            <li><a href="${pageContext.request.contextPath}/test/statusCode/01?i=13">UserNameNotMatchException</a></li>
            <li><a href="${pageContext.request.contextPath}/test/statusCode/01?i=14">AlexException</a></li>
            <li><a href="${pageContext.request.contextPath}/test/statusCode/02">405 方法不允许</a></li>
            <li><a href="${pageContext.request.contextPath}/test/statusCode/03?index=22">数组下标越界</a></li>
        </ur>

    </div>

</div>
</body>
</html>
